#include "bIterable.h"
#pragma once

class bBuffered:public bIterable
{
private:
	unsigned long int _alloc,_buff;
protected:
	virtual void ensure_elements(const unsigned long int)=0;
	bool allocate(const unsigned long int);
public:
	bBuffered(void);
	const unsigned long int allocated() const;
	const unsigned long int buffer() const;
	const unsigned long int buffer(const unsigned long int);
	virtual ~bBuffered(void);
};

